package com.atguigu.guli.service.edu.entity.vo;

import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @author: Mr.Wang
 * @date: 2021-05-24 22:04
 * @description: 创建一个树形的实体类，用于前端展示
 */
@Data
public class SubjectVo implements Serializable {
    private static final long serialVersionUID = 1L;

    private String id;
    private String title;
    private Integer sort;

   private List<SubjectVo> children = new ArrayList<>();

}
